package com.ruoyi.system.domain;

import java.sql.Time;
import java.sql.Timestamp;
import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手术当天，v1，存储患者的试验组对象 v1
 *
 * @author miao
 * @date 2024-07-05
 */
@Data
public class crfOne extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;

    /** 受试者ID */
    @Excel(name = "受试者ID")
    private Long testerId;

    /** 受试者试验入组：试验组或对照组 */
    @Excel(name = "受试者试验入组：试验组或对照组")
    private String trialGroup;

    /** 手术日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "手术日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date surgeryDate;

    /** 手术名称 */
    @Excel(name = "手术名称")
    private String surgeryName;

    /** ASA分级：I, II, III, IV, V */
    @Excel(name = "ASA分级：I, II, III, IV, V")
    private String asaGrade;

    /** 手术开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "手术开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date surgeryStartTime;

    /** 手术结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "手术结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date surgeryEndTime;

    /** 麻醉方式：颈管麻醉、椎管内麻醉、静脉麻醉 */
    @Excel(name = "麻醉方式：颈管麻醉、椎管内麻醉、静脉麻醉")
    private String anesthesiaMethod;

    /** 术毕局部浸润操作：试验组或对照组 */
    @Excel(name = "术毕局部浸润操作：试验组或对照组")
    private String postOpInfiltration;

    /** 术后镇痛方式选择：试验组或对照组 */
    @Excel(name = "术后镇痛方式选择：试验组或对照组")
    private String postOpPainRelief;

    /** 术后2h疼痛评分时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "术后2h疼痛评分时间", width = 30, dateFormat = "HH:mm")
    private LocalTime painAssessment2hTime;

    /** 术后2h静息疼痛评分 */
    @Excel(name = "术后2h静息疼痛评分")
    private Long painAssessment2hRest;

    /** 术后2h运动或咳嗽疼痛评分 */
    @Excel(name = "术后2h运动或咳嗽疼痛评分")
    private Long painAssessment2hActivity;

    /** 术后4h疼痛评分时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "术后4h疼痛评分时间", width = 30, dateFormat = "HH:mm")
    private LocalTime  painAssessment4hTime;

    /** 术后4h静息疼痛评分 */
    @Excel(name = "术后4h静息疼痛评分")
    private Long painAssessment4hRest;

    /** 术后4h运动或咳嗽疼痛评分 */
    @Excel(name = "术后4h运动或咳嗽疼痛评分")
    private Long painAssessment4hActivity;

    /** 术后6h疼痛评分时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "术后6h疼痛评分时间", width = 30, dateFormat = "HH:mm")
    private LocalTime  painAssessment6hTime;

    /** 术后6h静息疼痛评分 */
    @Excel(name = "术后6h静息疼痛评分")
    private Long painAssessment6hRest;

    /** 术后6h运动或咳嗽疼痛评分 */
    @Excel(name = "术后6h运动或咳嗽疼痛评分")
    private Long painAssessment6hActivity;

    /** 术后8h疼痛评分时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "术后8h疼痛评分时间", width = 30, dateFormat = "HH:mm")
    private LocalTime  painAssessment8hTime;

    /** 术后8h静息疼痛评分 */
    @Excel(name = "术后8h静息疼痛评分")
    private Long painAssessment8hRest;

    /** 术后8h运动或咳嗽疼痛评分 */
    @Excel(name = "术后8h运动或咳嗽疼痛评分")
    private Long painAssessment8hActivity;

    /** 术毕局部浸润布比卡因注射计量mg */
    @Excel(name = "术毕局部浸润布比卡因注射计量mg")
    private String infiltrationBubiMg;

    /** 术毕局部浸润布比卡因注射计量ml */
    @Excel(name = "术毕局部浸润布比卡因注射计量ml")
    private String infiltrationBubiMl;

    /** 术毕局部浸润盐酸注入量ml */
    @Excel(name = "术毕局部浸润盐酸注入量ml")
    private String infiltrationYansuan;

    /** 术后镇痛实验组氟比洛芬酯程序mg */
    @Excel(name = "术后镇痛实验组氟比洛芬酯程序mg")
    private String painTest;

    /** 术后阵痛对照组口服药名称 */
    @Excel(name = "术后阵痛对照组口服药名称")
    private String painMouseMedc;

    /** 术后阵痛对照组口服药计量 */
    @Excel(name = "术后阵痛对照组口服药计量")
    private String painMouseMg;

    /** 术后阵痛对照组口服药频率 */
    @Excel(name = "术后阵痛对照组口服药频率")
    private String painMouseTime;

    /** 术后阵痛对照组pca名称 */
    @Excel(name = "术后阵痛对照组pca名称")
    private String painPcaMedc;

    /** 术后阵痛对照组pca剂量(自己写单位) */
    @Excel(name = "术后阵痛对照组pca剂量(自己写单位)")
    private String painPcaMl;

    /** 术后阵痛对照组pca体积 */
    @Excel(name = "术后阵痛对照组pca体积")
    private String painPcaV;

    /** 术后阵痛对照组pca背景剂量 */
    @Excel(name = "术后阵痛对照组pca背景剂量")
    private String painPcaBgc;

    /** 术后阵痛对照组pca冲击剂量 */
    @Excel(name = "术后阵痛对照组pca冲击剂量")
    private String painPcaChong;

    /** 术后阵痛对照组pca锁定时间 */
    @Excel(name = "术后阵痛对照组pca锁定时间")
    private String painPcaLtime;

    /** 术后阵痛对照组pcea名称 */
    @Excel(name = "术后阵痛对照组pcea名称")
    private String painPceaMedc;

    /** 术后阵痛对照组pcea剂量(自己写单位) */
    @Excel(name = "术后阵痛对照组pcea剂量(自己写单位)")
    private String painPceaMl;

    /** 术后阵痛对照组pcea体积 */
    @Excel(name = "术后阵痛对照组pcea体积")
    private String painPceaV;

    /** 术后阵痛对照组pcea背景剂量 */
    @Excel(name = "术后阵痛对照组pcea背景剂量")
    private String painPceaBgc;

    /** 术后阵痛对照组pcea冲击剂量 */
    @Excel(name = "术后阵痛对照组pcea冲击剂量")
    private String painPceaChong;

    /** 术后阵痛对照组pcea锁定时间 */
    @Excel(name = "术后阵痛对照组pcea锁定时间")
    private String painPceaLtime;

    /** 术后阵痛对照组pcia名称 */
    @Excel(name = "术后阵痛对照组pcia名称")
    private String painPciaMedc;

    /** 术后阵痛对照组pcia剂量(自己写单位) */
    @Excel(name = "术后阵痛对照组pcia剂量(自己写单位)")
    private String painPciaMl;

    /** 术后阵痛对照组pcia体积 */
    @Excel(name = "术后阵痛对照组pcia体积")
    private String painPciaV;

    /** 术后阵痛对照组pcia背景剂量 */
    @Excel(name = "术后阵痛对照组pcia背景剂量")
    private String painPciaBgc;

    /** 术后阵痛对照组pcia冲击剂量 */
    @Excel(name = "术后阵痛对照组pcia冲击剂量")
    private String painPciaChong;

    /** 术后阵痛对照组pcia锁定时间 */
    @Excel(name = "术后阵痛对照组pcia锁定时间")
    private String painPciaLtime;

    /** 术后阵痛对照组其他药物名字 */
    @Excel(name = "术后阵痛对照组其他药物名字")
    private String painElseMedc;

    /** 术后阵痛对照组剂量(自己写单位) */
    @Excel(name = "术后阵痛对照组剂量(自己写单位)")
    private String painElseMl;

    /** 状态（0完成，1未完成） */
    @Excel(name = "状态", readConverterExp = "0=完成，1未完成")
    private Long status;

    /** 使用药物名称 */
    @Excel(name = "使用药物名称")
    private String medicineMethod;

    /** 麻醉药物浓度 */
    @Excel(name = "麻醉药物浓度")
    private String lmCncentration;

    /** 麻醉药物剂量 */
    @Excel(name = "麻醉药物剂量")
    private String lmCapacity;

    /** 镇痛药分类 */
    @Excel(name = "镇痛药分类")
    private String medicineMethod3one;

    /** 药物1用量 */
    @Excel(name = "药物1用量")
    private String analgesic1dosage;

    /** 药物2用量 */
    @Excel(name = "药物2用量")
    private String analgesic2dosage;

    /** 药物3用量 */
    @Excel(name = "药物3用量")
    private String analgesic3dosage;

    /** 药物4用量 */
    @Excel(name = "药物4用量")
    private String analgesic4dosage;

    /** 其他药物用量 */
    @Excel(name = "其他药物用量")
    private String analgesic5dosage;

    /** 其他药物名 */
    @Excel(name = "其他药物名")
    private String analgesic5name;

    /** 镇静药 */
    @Excel(name = "镇静药")
    private String medicineMethod3two;

    /** 镇静1用量 */
    @Excel(name = "镇静1用量")
    private String sedative1dosage;

    /** 镇静2用量 */
    @Excel(name = "镇静2用量")
    private String sedative2dosage;

    /** 镇静其他用量 */
    @Excel(name = "镇静其他用量")
    private String sedative3dosage;

    /** 镇静其他命名 */
    @Excel(name = "镇静其他命名")
    private String sedative3name;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTesterId(Long testerId)
    {
        this.testerId = testerId;
    }

    public Long getTesterId()
    {
        return testerId;
    }
    public void setTrialGroup(String trialGroup)
    {
        this.trialGroup = trialGroup;
    }

    public String getTrialGroup()
    {
        return trialGroup;
    }

}
